home *** CD-ROM | disk | FTP | other *** search
/ Ian & Stuart's Australian Mac: Not for Sale / Another.not.for.sale (Australia).iso / fade into you / being there / How To & FAQ's / finding-email-address. < prev    next >
Text File  |  1994-04-25  |  33KB  |  1,057 lines

  1. hostname: naic.nasa.gov
  2. filename: files/general_info/finding-email-address.txt
  3. updated:  9/93 (AM)
  4.  
  5. Title:     HOW DO I SEND MAIL TO WHATSHISNAME?
  6.  
  7.        (Actually: How to find someones E-mail address)
  8.  
  9.  
  10. Abstract:  Users often have difficulty in finding a proper Email
  11.            address they can use to communicate with a colleague.
  12.            This talk looks at tricks and techniques in discovering
  13.            a users account and hostname in the DECnet, BITnet, X.25
  14.            and TCP/IP world with heavy emphasis on TCP/IP.  Various 
  15.            Internet-wide resources and commonly available utilities 
  16.            (both VMS and UNIX) will be discussed.
  17.            
  18.        
  19.  
  20.  
  21.   
  22.    There are basically three techniques one can use to determine a users
  23.    email address.
  24.  
  25.    The first involves what I'll call poor-mans-networking. That is, call
  26.    Mr. X up on the phone and ask him what his email address is.  If you 
  27.    don't know his number, call SOMEONE at his site up and request that he 
  28.    do some computer legwork for you.  Altho this may sound rather inelegant 
  29.    in many cases, this last-resort technique DOES work, particularly when 
  30.    combined with a network directory listing local points of contact (eg 
  31.    Tracy LaQuey's book, the former SPAN yellow pages etc.) We'll see that 
  32.    combining this with the TCP/IP WHOIS utility also may be useful
  33.  
  34.    A further example includes locally available services   Many sites have 
  35.    locally available online flat-files that users may peruse.  eg Amarna 
  36.    has Goddard phonebook online in SDCDCL::PUB_PROD:[PHONEBOOK]PHONEBOOK.DAT
  37.  
  38.                           EXAMPLE:
  39.  
  40.             ¢ search sdcdcl::pub_prod:[phonebook]phonebook.dat stern
  41.  
  42.       66079  STERN           DAVID        M               HSTX 930.4 28 W205J
  43.       68292  STERN           DAVID        P            DR.695.0       2 143
  44.       71736  STERN           RICHARD      ARICH           CSC  832.2N161119
  45.  
  46.  
  47.    But these online files often doesn't contain email addresses.  More 
  48.    importantly most remote users wouldn't know about such local services.
  49.  
  50.  
  51.                                _ _ _
  52.                                 _ _
  53.                                  _
  54.  
  55.  
  56.  
  57.    The second technique is to search commonly available databases or flatfiles
  58.    for a partial string.
  59.  
  60. To find a BITnet machine:
  61. =========================
  62. Search the host table that is periodically distributed to BITnet sites.
  63. On a VMS machine running Joiner software, it is located in
  64. JAN_ROOT:[SYS]JANROUTES.JCP and is world-readable.  In fact, you need
  65. not be a BITnet site to search this file. You can peruse it remotely.
  66. Thus if a hostname is 6 or fewer alphanumeric characters, it may be
  67. a BITnet node.
  68.  
  69.                   EXAMPLE:
  70.  
  71.  ¢ search dftnic::jan_root:[sys]janroutes.jcp slac
  72.  DEFINE SLACESA  /ROUTE=SCFMVS    ! BITNET   US
  73.  DEFINE SLACPCR  /ROUTE=SCFMVS    ! BITNET   US
  74.  DEFINE SLACPHYS /ROUTE=SCFMVS    ! BITNET   US
  75.  DEFINE SLACSCS  /ROUTE=SCFMVS    ! BITNET   US
  76.  DEFINE SLACSLC  /ROUTE=SCFMVS    ! BITNET   US
  77.  DEFINE SLACSLD  /ROUTE=SCFMVS    ! BITNET   US
  78.  DEFINE SLACSRV2 /ROUTE=SCFMVS    ! BITNET   US
  79.  DEFINE SLACTBF  /ROUTE=SCFMVS    ! BITNET   US
  80.  DEFINE SLACTPC  /ROUTE=SCFMVS    ! BITNET   US
  81.  DEFINE SLACTPCS /ROUTE=SCFMVS    ! BITNET   US
  82.  DEFINE SLACTWGM /ROUTE=SCFMVS    ! BITNET   US
  83.  DEFINE SLACVM   /ROUTE=SCFMVS    ! BITNET   US
  84.  DEFINE SLACVX   /ROUTE=SCFMVS    ! BITNET   US
  85.  
  86.  
  87. But how do you find out if someone is running Joiner software?
  88. You can remotely translate a logical using the following technique:
  89.  
  90.  
  91.        $MAIL NL: DFTNIC::JAN_ROOT   
  92.  
  93. This forces VMS on the remote machine to internally interpret the logical
  94. jan_root and parrot back to you it's equivalence in the error message.  
  95. This same technique can be used to see if a machine is running multinet, 
  96. PMDF, DECpsi etc (If you know what logical to search for...)
  97.  
  98.  
  99.                  EXAMPLE:
  100.  
  101.  ¢ mail nl: dftnic::jan_root
  102.  %MAIL-E-USERSPEC, invalid user specification ':[SYS3.JANDFTNIC.]'
  103.  
  104. Compare this to the attempted translation of a logical that does NOT
  105. exist on the remote machine DFTNIC.  Note the error message regurgitates
  106. the logical EXACTLY as you entered it.
  107.  
  108.  ¢ mail nl: dftnic::gobblede_guk
  109.  %MAIL-E-NOSUCHUSR, no such user GOBBLEDE_GUK at node DFTNIC 
  110.  
  111.  
  112.  
  113.  
  114. To find a VMS X.25 machine:
  115. ===========================
  116.  
  117.  
  118. If you are trying to reach an X.25 site, you have DECs PSI software and your
  119. systems manager has been kind enough to define logicals to equate easily
  120. remembered names with machine DTE numbers, the PSI table will list at least 
  121. those DTE's  that HAVE been defined.  This will only work locally. You can 
  122. NOT remotely translate a PSI logical. Likewise you can't randomly browse
  123. another machines psi$dte_table.  So if you're not a PSI site, you're SOL.
  124. NB. Because of security considerations, Sprintnet wont translate a number 
  125. for you)
  126.  
  127.                               EXAMPLE:
  128.  
  129.  
  130.  
  131.  ¢ show log/table=psi$dte_table ssl
  132.     "SSL" = "311032100160" (PSI$DTE_TABLE)
  133.  
  134. You need not give it a full name; wildcards are allowed.  Further,
  135. you need not remember that ridiculous logical table name:
  136.  
  137.  ¢ show log/table=*psi* *venus*
  138.  
  139.  (PSI$DTE_TABLE)
  140.  
  141.    "KDDVENUS" = "440881786124"
  142.  
  143.  
  144.  
  145.  
  146. To find a DECnet machine:
  147. =========================
  148. First, let's assume it's in the NSI address space.  If your local NCP 
  149. database is up to date, try searching it ($MCR NCP SH NODE string)
  150. Otherwise:
  151.  
  152.               $SEARCH NSINIC::NSI_DECNET.COM string
  153.  
  154. This file lists all registered NSI-DECnet nodes.  Again, if the nodename
  155. is 6 or fewer alphanumeric characters, it may be an NSI-DECnet node.  
  156.  
  157.                EXAMPLE:
  158.  
  159.  ¢ sea nsinic::nsi_decnet.com zar
  160.  DEFINE NODE  5.864     NAME  MIZAR
  161.  DEFINE NODE  5.900     NAME  ZARDOZ
  162.  DEFINE NODE  33.38     NAME  MIZAR2
  163.  
  164.  
  165.  
  166.     PERHAPS ITS A HEPNET, EUROPEAN-SPAN, EUROPEAN-HEPNET, CANADIAN-SPAN,
  167.     CANADIAN-HEPNET OR THENET NODE
  168.  
  169. The above nets share the same address space.  A name may be multiply defined
  170. in two or more networks. Some areas are not defined in all of the above nets.
  171. The same previously mentioned technique can still be used. You just need to
  172. know where to look.  NSI_DECNET.COM has the following "gateways" defined
  173.  
  174. FNAL   (Fermi Lab in HEPnet)             42.1
  175. ECD1   (European SPAN)                   28.1
  176. CANOTT (Canadian SPAN)                   18.100
  177. THENIC (Texas Higher Education Network)  25.213
  178.  
  179.  
  180. The following machines are undefined in NSI_DECNET.COM (but now you know...)
  181.  
  182. HEPCAN (Canadian HEPnet)                 18.1001           
  183. VXCERN (European HEPnet)                 22.190
  184.  
  185.  
  186. So all you need to do is query one (or all) of the above regarding a
  187. nodename.  Bear in mind that nodenames ARE not necessarily unique to
  188. any of the above networks.
  189.  
  190. Note that you need to know (or guess) the full machine name. You cannot
  191. search on a partial string.  Still, if you're only trying to identify
  192. on which network a known host resides, this method will suffice.
  193.  
  194. Once you decide on what network the machine resides, you can poor-mans-route
  195. email thru the appropriate gateway e.g.
  196.  
  197.    $ MAIL DATA.TXT FNAL::MARIE::SMITH
  198.  
  199.  
  200.  
  201. Again, keep in mind that machine names are not necessarily unique across the
  202. DECnet Internet.  The same name may be used by many machines with different
  203. addresses
  204.  
  205.                    EXAMPLE:
  206.  
  207.  ¢ mc ncp tell fnal sh node marie
  208.   
  209.  Node Volatile Summary as of 25-FEB-1992 13:53:01
  210.   
  211.      Node           State      Active  Delay   Circuit     Next node
  212.                                Links
  213.   
  214.  43.355 (MARIE)                                BNA-0        42.33 (FNALRE)
  215.  
  216.  ¢ mc ncp sh node marie
  217.   
  218.  Node Volatile Summary as of 25-FEB-1992 13:53:10
  219.   
  220.      Node           State      Active  Delay   Circuit     Next node
  221.                                Links
  222.   
  223.   5.779 (MARIE)                                SVA-0        15.1019 (WAN1)
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231. You can also use X.500 White Pages service:
  232. ===========================================
  233.  
  234.  
  235. If the user is a member of any government agency, they are likely to have
  236. been registered in X.500 white pages.  Unfortunately it's not the most 
  237. user-friendly device and can be painfully slow if you don't know the 
  238. organization the user belongs to.  Futher, it uses fuzzy logic for the
  239. search (This can be both good and bad).  Finally, it might not
  240. even list their e-mail address 
  241.  
  242. Some of the more common X.500 front ends include:
  243.  
  244. wp   - graphics for vt100 OR display back to an Xwindow
  245. fred - a more user-friendly front end
  246. sd   - for experts only
  247.  
  248.  
  249.  
  250.  
  251.                EXAMPLE:
  252. $ telnet wp.gsfc.nasa.gov
  253. Trying... Connected to LEGO.GSFC.NASA.GOV 
  254.  
  255. SunOS UNIX (lego)
  256.  
  257. login: fred
  258.  
  259.  
  260. Welcome to NASA Goddard Space Flight Center
  261.  
  262.  
  263. If you have any problems, send mail to rdunbar@dftsrv.gsfc.nasa.gov
  264.  
  265. Try   "help" for a list of commands
  266.      "whois" for information on how to find people
  267.     "manual" for detailed documentation
  268.     "report" to send a report to the white pages manager
  269.  
  270. To find out about participating organizations, try
  271.     "whois -org *"
  272.  
  273. To find the people with lastname of Dunbar in NASA, try
  274.     "whois dunbar -org nasa"
  275.  
  276.   accessing service, please wait...
  277.  
  278. fred> help
  279. Operations:
  280. alias   dish    help    quit    set     whois
  281. area    edit    manual  report  thisis  version
  282.  
  283. fred> whois -org nasa stern 
  284. Trying @c=US@o=National Aeronautics and Space Administration ...
  285. 4 matches found.
  286.   2. David P. Stern                                 +1 301-286-8292
  287.   3. David Stern                                    +1 301-286-6079
  288.   4. Richard Stern                                  +1 804-824-1610
  289.   5. Robert Stern
  290. (Partial results only--not all DSAs could be reached)
  291.  
  292.  
  293. fred> whois -org nasa stern -full
  294. Trying @c=US@o=National Aeronautics and Space Administration ...
  295. Robert Stern (5)
  296.  
  297. NASA Johnson Space Center
  298.   Houston, TX 77058
  299.  
  300. Mailbox information:
  301.   c=usa,admd=telemail,prmd=jsc,org=nasa,ou=life,gn=robert,sn=stern,i=m
  302.  
  303. Locality:    Houston, Texas
  304.  
  305. Name:     Robert Stern, Johnson Space Center,
  306.             National Aeronautics and Space Administration,
  307.             US (5)
  308. Modified: Tue Sep 24 21:17:48 1991
  309.       by: Manager, National Aeronautics and Space Administration,
  310.             US (7)
  311. (Partial results only--not all DSAs could be reached)
  312.  
  313.  
  314.  
  315.  
  316.  
  317. All of the above are somewhat helpful but they probably sound like "hacky"
  318. or last-resort methods. Fortunately, there are a few network utilities
  319. that provide a somewhat more reliable solution to the problem. Network 
  320. utilities are the third technique for looking up email addresses.
  321.  
  322.  
  323.  
  324.  
  325. BITNET
  326. ======
  327. If you are on a BITnet machine, you can send a test message/command to the
  328. user you intend to email to.  Likewise, you can use the finger utility to
  329. verify that a machine name is legitimate and even get a listing of user
  330. currently logged on.  
  331.  
  332. ¢ send @jhuvms finger
  333. (JHUVMS) - Username  Program   Login CPU Time  TTY 
  334. (JHUVMS) - GGA                 08:54    37.5   LTA702 
  335. (JHUVMS) - EBOLTZ    TELNET    14:26     2.6   RTA3 
  336. (JHUVMS) - DOR_B014  EDT       13:13    17.1   NTY4 
  337. (JHUVMS) - JOHNHARR            14:01     8.0   TZA6672 
  338. (JHUVMS) - CAE_005             14:27     1.4   TZA6731 
  339. (JHUVMS) - ADM_ACWS  DTR32     13:35   214.6   TZA6613 
  340. (JHUVMS) - EVH5150             13:14   133.4   TZA6547 
  341. (JHUVMS) - JU1972              14:28     4.1   TZA6732 
  342.          ... (output deleted for brevity) ....
  343.  
  344. But not all BITnet machines enable the finger utility.  The following
  345. machine is an IBM.  It IS a valid BITnet host, just doesn't run finger.
  346.  
  347.        ¢ send @jhuvm finger
  348.        (JHUVM) - INVALID COMMAND FINGER 
  349.  
  350.        ¢ sea jan_root:[sys]janroutes.jcp jhuvm
  351.        DEFINE JHUVM    /ROUTE=SCFMVS    ! BITNET   US
  352.        DEFINE JHUVMS   /ROUTE=SCFMVS    ! BITNET   US
  353.  
  354.  
  355. Limitations:
  356. ------------
  357. You must be a bitnet site.  Furthermore, using finger to identify a 
  358. username on a valid BITnet host will only work if that user is currently 
  359. logged on.  Finally, illegal names aren't actually identified as such.
  360.  
  361.                     EXAMPLE:
  362.  
  363.         ¢ send gobblede@jhuvm  "test"
  364.         (JHUVM) - GOBBLEDE NOT LOGGED ON 
  365.  
  366.  
  367.  
  368.  
  369. DECNET
  370. ======
  371. Although most people wouldn't think of VMSMAIL as a network utility for 
  372. verifying an e-mail address, it can be used as just that.  Because DECnet
  373. is a connection-oriented protocol, you can test an email address at the
  374. VMS MAIL "To:" prompt.  You need not send a test message. This guarantees
  375. that you have found a legitimate email address.  This same technique can
  376. be used to validate an X.25 mail address
  377.  
  378.  
  379.                       EXAMPLE:
  380.  
  381. ¢ mail
  382.  
  383. MAIL> s
  384. To:    ssl::system
  385. CC:    ^Z
  386.  Exit 
  387.  
  388. MAIL> s
  389. To:     PSI%31103210703598::GREEN
  390. CC:     ^Z
  391.  Exit 
  392.  
  393. MAIL>
  394.  
  395.  
  396.  
  397. Limitations:  
  398. ------------
  399. Just because an email address is valid, it isn't necessarily the address you
  400. want. eg DFTNIC::GARY  (Of course, this is always true.  Just something to
  401. keep in mind)
  402.  
  403.  
  404.  
  405.  
  406.  
  407. Sometimes a machine is down. To get around this, you can use a feature of
  408. multinet to que it up.  
  409.  
  410.                         EXAMPLE:
  411.  
  412. ¢ mail
  413. MAIL> s
  414. To:    ssp1::system
  415. %MAIL-E-LOGLINK, error creating network link to node SSP1
  416. -SYSTEM-F-NOSUCHNODE, remote node not currently reachable
  417.  
  418. MAIL> s
  419. To:    smtp%"ssp1::system"
  420. CC:    
  421. Subj: Sample of queueing up DECnet mail for later delivery
  422.  
  423.  
  424.  
  425.  
  426. FINGER
  427. ------
  428.  
  429. The same technique use to discover a legitimate username on a particular
  430. BITnet machine may also be used in the IP world.
  431.  
  432.                      EXAMPLE:
  433. ¢ finger @nsipo.nasa.gov
  434.  
  435.   User     Real Name         What    Idle  TTY  Host      Console Location
  436. aschen   Anne Chen                   0:02  *p7 nsipo.ar (cumulus.arc.nas
  437. bosco    Kathy J. Bosovich           0:30  *co zeus.arc unknown
  438. chen     Anni Chen                   0:18  *co jadee.ar unknown
  439. defrenza Michael DeFrenza            0:14  *p7 dscs.arc (xexeo:0.2)
  440. feinler  Jake Feinler                      *co wonderla unknown
  441. hallie   Hallie Carlson                    *pa nsipo.ar (sophie.arc.nasa
  442. howe     Greg Howe                   0:02  *co spot.arc unknown
  443. joanie   Joan C. Thompson           15:59  *p1 eudoxa.a (:0.0)
  444. jones    Wm Prichard Jones          22:15  *p2 jehovah. (:0.0)
  445. kamerdze Jeanine Kamerdze           23:49  *pb noc.arc. (:0.0)
  446. leon     Mark Leon                   0:24  *pd nsipo.ar (warlord.arc.nas
  447. maria    Maria L. Gallagher          0:50  *co volcano. unknown
  448. mckernan Daniel S. McKernan          2:20  *p9 dscs.arc (fltsatcom.arc.n
  449. wade     A. Lee Wade                 0:03  *co discover unknown
  450. wiersma   Al Wiersma                        p1 noc.arc. (noc.arc.nasa.go
  451.  
  452.  
  453.  
  454. PING
  455. ----
  456.  
  457. Like the previously mentioned VMSMAIL verification technique, PING can 
  458. be used to verify a hostname and insure that the machine is currently 
  459. available.
  460.  
  461.                           EXAMPLE:
  462. $ mu ping nsipo.nasa.gov 
  463.  
  464. PING NSIPO.NASA.GOV (128.102.18.20): 56 data bytes
  465. 64 bytes from 128.102.18.20: icmp_seq=0 time=360 ms
  466. 64 bytes from 128.102.18.20: icmp_seq=2 time=290 ms
  467.  
  468.  
  469.  
  470. TRACEROUTE
  471. ----------
  472.  
  473. Occasionally, you may come across a domain name that you don't recognize.
  474. Using TRACEROUTE and a little geography, one can often figure out physically
  475. where (at what local site) a machine resides
  476.  
  477.                         EXAMPLE:
  478.  
  479. $mu trace gdsnet.grumman.com  
  480. traceroute to GDSNET.GRUMMAN.COM  (134.223.87.7), 30 hops max, 38 byte packets
  481.  1  nsi-gw1 (128.183.10.40)  20 ms  10 ms  10 ms
  482.  2  SURA.NSN.NASA.GOV (128.161.40.38)  30 ms  10 ms  10 ms
  483.  3  nss-fix.sura.net (192.80.214.254)  40 ms  20 ms  30 ms
  484.  4  Ithaca.NY.NSS.NSF.NET (129.140.74.9)  60 ms  60 ms  60 ms
  485.  5  Ithaca.NY.NSS.NSF.NET (129.140.10.16)  60 ms Ithaca.NY.NSS.NSF.NET (129.140.10.80)  60 ms Ithaca.NY.NSS.NSF.NET (129.140.10.16)  60 ms
  486.  6  cornell.syr.pop.psi.net (38.145.10.1)  60 ms  90 ms  70 ms
  487.  7  syrpop.albany.pop.psi.net (38.145.20.2)  120 ms  90 ms  70 ms
  488.  8  albpop.nyc2.pop.psi.net (38.145.80.1)  80 ms  80 ms  70 ms
  489.  9  nyc_C2.lan.nyc2.pop.psi.net (38.145.218.3)  130 ms  80 ms  80 ms
  490. 10  nyc1.grumman.psi.net (38.145.18.2)  100 ms  160 ms  100 ms
  491. 11  * * *
  492. 12  * * *
  493. 13  * * *
  494. 14  * * *
  495. 15  * * *
  496. 16  * * *
  497. 17  * * *
  498. 18  * * *
  499. 19  * * *
  500. 20  * * *
  501. 21  gdsnet.grumman.com (134.223.87.7)  110 ms !  100 ms !  110 ms !
  502.  
  503. Limitation:  On VMS machines running multinet, this is a privileged command.
  504. (Your systems manager may opt to install the command with privs...)
  505.  
  506.  
  507.  
  508.  
  509.  
  510. WHOIS 
  511. -----
  512. WHOIS  is probably the single-most valuable utility for looking up email 
  513. addresses.  (After all, it's sole purpose is to return a legitimate email 
  514. address). This utility comes packaged with most TCP/IP products.  It is 
  515. based on the WHOIS lookup capability at the NIC.DDN.MIL
  516.  
  517.                   EXAMPLES:
  518.  
  519. ¢ whois stern
  520. STERN, RICHARD
  521.  (RS1441)        nsaparlp@NOSC.MIL        (814) 865-6344
  522. Stern, Alan (AS2235)        STERN%RISVAX@CCNMR.MIT.EDU      617-497-4684
  523. Stern, Alan (AS2236)        sternrisvax@ccnmr.mit.edu      617 497-4684
  524. Stern, Allen M. (AMS49)        STERNA@RUCKER-SAFETY.ARMY.MIL    (DSN) 856-2826
  525. Stern, Andre (AS127)        stern@PRG.OXFORD.AC.UK
  526. Stern, Catherine (CS231)    cstern@APG-EMH5.APG.ARMY.MIL
  527.                          (301) 671-2208 (DSN) 584-2208
  528. Stern, Damon E. (DES83)        dstern@ODS-HOST1.ARMY.MIL
  529.    011-966-3-439-4279
  530. Stern, David M. (DMS75)        STERN@DFTNIC.GSFC.NASA.GOV    (301) 286-6079
  531. Stern, Eric S. (ES221)        SFAE-CM-PM@MONMOUTH-EMH3.ARMY.MIL
  532.                                 (908) 532-0263
  533. Stern, Fred (FS67)        STERN1@CCF.NRL.NAVY.MIL        (319) 353-4692
  534. Stern, Fredrick M. (FMS8)               (DSN) 675-2393 605-385-2393
  535. Stern, Hal (HS71)                        (617) 890-2888
  536. Stern, Jack (JS855)        EAID-IB-EE@CASEY-EMH1.ARMY.MIL    (DSN) 730-5238
  537. Stern, Les (LS233)        TAMMC200@OBL-LINK.EUCOM.MIL
  538.                           06332-86-6538 (DSN) 494-6538
  539. Stern, Neil H. (NHS2)        nstern@PICA.ARMY.MIL
  540.                          (201) 724-6363 (DSN) 880-6363
  541. Stern, Richard
  542.  (RS144)        nsaparlp@NOSC.MIL        (814) 865-6344
  543. Stern, Robert (RS713)        fastkorea@BELVOIR-EMH9.ARMY.MIL
  544.                          (703) 664-5482 (DSN) 354-5482
  545. Stern, Scott (SMS44)        sterns@IMO-UVAX.DCA.MIL        (703) 746-3626
  546. Stern, Stanley Alexander (SAS54)SASTERN@AEGIS-DAHLGREN.NSWC.NAVY.MIL
  547.                                 (609) 268-8216
  548. Stern, Teresa (TS29)        STERNT@IMO-UVAX6.DCA.MIL
  549.                            (703)696-1741 (DSN)226-1741
  550. Stern, Timothy W. (TWS15)    633ABWLGTM@KADENA-EMH.AF.MIL    (DSN) 366-8257
  551.  
  552. To single out one record, look it up with "!xxx", where xxx is the
  553. handle, shown in parenthesis following the name, which comes first.
  554.  
  555.  
  556.  
  557.  
  558.  
  559. You can use WHOIS to find all users registered on a particular node
  560.  
  561.                          EXAMPLE:
  562.  
  563. $whois @dftnic
  564. Bennett, Jerome
  565.  (JB113)        bennett@DFTNIC.GSFC.NASA.GOV    (301) 286-4655
  566. Broder, Sol (SB125)        broder@DFTNIC.GSFC.NASA.GOV    (301) 286-7088
  567. Cheek, Jack (JC331)        CHEEKS@DFTNIC.GSFC.NASA.GOV    (301) 286-2045
  568. Cosner, Charles (CC115)        cosner@DFTNIC.GSFC.NASA.GOV    (301) 286-6693
  569. Gary, James P. (JPG18)        pgary@DFTNIC.GSFC.NASA.GOV    (301) 286-9539
  570. Jha, Ashok (AJ29)        jha@DFTNIC.GSFC.NASA.GOV    (301) 286-9423
  571. Kemper, Edward (EK19)        KEMPER@DFTNIC.GSFC.NASA.GOV
  572.                          (301) 286-5042 (FTS) 888-5042
  573. Lang, Paul A. (PAL10)        lang@DFTNIC.GSFC.NASA.GOV    (301) 286-2045
  574. Lev, Brian (BL41)        lev@DFTNIC.GSFC.NASA.GOV    (301) 286-9514
  575. Stern, David M. (DMS75)        STERN@DFTNIC.GSFC.NASA.GOV    (301) 286-6079
  576. Yurcik, William J. (WY4)    yurcik@DFTNIC.GSFC.NASA.GOV    (301) 286-1376
  577.  
  578. To single out one record, look it up with "!xxx", where xxx is the
  579. handle, shown in parenthesis following the name, which comes first.
  580.  
  581.  
  582.  
  583. You can also find out whois is responsible for a particular network
  584. using either the Class B address mask or the network name
  585.  
  586.                      EXAMPLE:
  587.  
  588.  
  589. ¢ whois 128.161.0.0
  590. NASA Ames Research Center (NET-NSN-NET)
  591.    Moffett Field, CA 94035
  592.  
  593.    Netname: NSN-NET
  594.    Netnumber: 128.161.0.0
  595.  
  596.    Coordinator:
  597.       Medin, Milo  (MSM1)  MEDIN@NSIPO.NASA.GOV
  598.       (415) 604-6440 (FTS) 464-6440
  599.  
  600.    Domain System inverse mapping provided by:
  601.  
  602.    NSIPO.ARC.NASA.GOV        128.102.18.20
  603.    ORION.ARC.NASA.GOV        128.102.18.10
  604.  
  605.    Record last updated on 03-Jan-91.
  606.  
  607.  
  608. To see this host record with registered users, repeat the command with
  609. a star ('*') before the name; or, use '%' to show JUST the registered users.
  610.  
  611.  
  612.  
  613.                      EXAMPLE:
  614.  
  615. ¢ whois nih.gov
  616.  
  617. National Institutes of Health (NIH-DOM)
  618.    National Library of Medicine
  619.    8600 Rockville Pike
  620.    Bethesda, MD 20894
  621.  
  622.    Domain Name: NIH.GOV
  623.  
  624.    Administrative Contact, Technical Contact, Zone Contact:
  625.       Aronson, Jules P.  (JA1)  ARONSON@MCS.NLM.NIH.GOV
  626.       (301) 496-9300 (FTS) 496-9300
  627.  
  628.    Record last updated on 02-Aug-91.
  629.  
  630.    Domain servers in listed order:
  631.  
  632.    LHC.NLM.NIH.GOV        130.14.1.128
  633.    UUCP-GW-1.PA.DEC.COM        16.1.0.18
  634.    RAY.NLM.NIH.GOV        130.14.20.2
  635.    SUN1.NLM.NIH.GOV        130.14.20.30
  636.    NS.NIH.GOV            128.231.128.251
  637.    DXI.NIH.GOV            128.231.64.1
  638.  
  639.  
  640. To see this host record with registered users, repeat the command with
  641. a star ('*') before the name; or, use '%' to show JUST the registered users.
  642.  
  643.  
  644. Further capabilities are allowed if you telnet nic.ddn.mil
  645.  
  646. Limitations:  A user needs to register at the NIC in the first place.  He/she
  647. is also responsible for keeping the information current.  To register, ftp
  648. nic.ddn.mil and get /netinfo/user-template.txt
  649.  
  650.  
  651.  
  652.  
  653.  
  654. NSLOOKUP
  655. --------
  656. NSLOOKUP allows you to convert IP numbers to names, convert mx records, dump
  657. all nodes a nameserver knows about and more.  
  658.  
  659. If you know a partial host name or know their domain and think you'd recognize
  660. the hostname if you saw it, find a nameserver in that domain and dump all
  661. nodes.  
  662.  
  663.  It may be useful to have a list of all domain names.  Ftp to NSINIC, drop 
  664. down to [.nsinic.tcp-ip.docs] and grab DOMAIN-INFO.TXT (or get it from 
  665. NIC.DDN.MIL, or DECnet copy it from 
  666. NSINIC::DISK$NSINIC:[ANONYMOUS.FILES.NSINIC.TCP-IP.DOCS]DOMAIN-INFO.TXT
  667.  
  668. You may also find the companion document US-DOMAIN.TXT, (in the same 
  669. directory) useful.
  670.  
  671.  
  672.  
  673.   ............Select parts of DOMAIN-INFO.TXT................
  674.  
  675. [ NETINFO:DOMAIN-INFO.TXT ]
  676.  
  677.         DDN NIC DOMAIN SUMMARY            11-Dec-89
  678.  
  679. [NSI NIC note: Each of the "domains" referred to in the following list is the
  680. last part of a full name Internet address; for example, GOV is the domain for
  681. the address "nsinic.gsfc.nasa.gov" and COM is the domain for "stx.com".]
  682.  
  683. AT
  684. No known domains under this top level domain.  (AUSTRIA)
  685.  
  686.         ........ (parts of this document removed for brevity) ........
  687. CA
  688. No known domains under this top level domain.  (CANADA)
  689.  
  690. COM
  691. 3Com.COM        3M.COM          A-T.COM         AATI.COM        AB.COM
  692. ABBOTT.COM      ABLE.COM        ACADCH.COM      ACC.COM         ACCI.COM
  693. ACS.COM         ACW.COM         ADDAMAX.COM     ADELIE.COM      ADOBE.COM
  694. ADS.COM         ADVSCI.COM      AGFA.COM        AGS.COM         AHA.COM
  695. AIC.COM         AII.COM         ALADDIN.COM     ALCOA.COM       ALGORISTS.COM
  696. ALLIANT.COM     ALLIED.COM      AlphaCDC.COM    ALPHALPHA.COM   ALTOS.COM
  697. AMC.COM         AMCC.COM        AMD.COM         AMDAHL.COM      AMERITECH.COM
  698. AMI.COM         AMIX.COM        AMOCO.COM       AMP.COM         AMS.COM
  699. ANA.COM         ANALYTICS.COM   ANDERSEN.COM    AOCGL.COM       APLDBIO.COM
  700. APOLLO.COM      APPLE.COM       APPLICON.COM    APPLIX.COM      APS.COM
  701. ARBORTEXT.COM   ARDENT.COM      ARIEL.COM       ARRIS.COM       ASA.COM
  702. ASI.COM         ASTROSOFT.COM   ATENG.COM       ATHENANET.COM   ATHERTON.COM
  703. ATHSYS.COM      ATI.COM         ATPAL.COM       ATT.COM         AURATEK.COM
  704.  
  705.         ........ (parts of this document removed for brevity) ........
  706.  
  707.  
  708.                  EXAMPLE: finding a Grumman node called GDSsomething
  709. $MU NSLOOKUP
  710. Default Server:  dftsrv.gsfc.nasa.gov
  711. Address:
  712.   128.183.10.134
  713.  
  714. > SET QUERY/TY=NS 
  715. > GRUMMAN.COM
  716. Server:  dftsrv.gsfc.nasa.gov
  717. Address:  128.183.10.134
  718.  
  719. Non-authoritative answer:
  720. grumman.com    nameserver = NS.PSI.NET
  721. grumman.com    nameserver = NS2.PSI.NET
  722.  
  723.  
  724. Authoritative answers can be found from:
  725. grumman.COM    nameserver = NS.PSI.NET
  726. grumman.COM    nameserver = NS2.PSI.NET
  727. NS.PSI.NET    internet address = 192.33.4.10
  728. NS2.PSI.NET    internet address = 192.35.82.2
  729.  
  730. > SERVER NS.PSI.NET
  731. Default Server:  ns.psi.net
  732. Address:  192.33.4.10
  733.  
  734. LS GRUMMAN.COM
  735. [ns.psi.net]
  736.  grumman.com.                  server = ns.psi.net                    
  737.  ns.psi.net.                    192.33.4.10
  738.  grumman.com.                  server = n2ngw.nyser.net               
  739.  n2ngw.nyser.net.               192.35.82.2
  740.  gdsnet                         134.223.87.7
  741.  gdstech                        134.223.87.6
  742.  gdsdec                         134.223.87.8
  743. > EXIT
  744.  
  745.  
  746.  
  747. Often the above listing is quite large.  You can therefore pre-sort it.
  748.  
  749.                     EXAMPLE:  searching for host that sounds something
  750.                               like BAST in domain BELWUE in Germany
  751.  
  752. $ mu nslookup
  753. Default Server:   nsisrv.gsfc.nasa.gov
  754. Address:  128.183.10.134
  755.  
  756. > set query/ty=ns
  757. > belwue.de
  758.  
  759. Address:  128.183.10.134
  760. Non-authoritative answer:
  761. belwue.de    nameserver = noc.BelWue.DE
  762. belwue.de    nameserver = deins.Informatik.Uni-Dortmund.DE
  763. belwue.de    nameserver = rusmv5.RUS.Uni-Stuttgart.DE
  764. belwue.de    nameserver = rusmv8.RUS.Uni-Stuttgart.DE
  765. belwue.de    nameserver = ns.Germany.EU.net
  766.  
  767. Authoritative answers can be found from:
  768. BelWue.de    nameserver = noc.BelWue.DE
  769. BelWue.de    nameserver = deins.Informatik.Uni-Dortmund.DE
  770. BelWue.de    nameserver = rusmv5.RUS.Uni-Stuttgart.DE
  771. BelWue.de    nameserver = rusmv8.RUS.Uni-Stuttgart.DE
  772. BelWue.de    nameserver = ns.Germany.EU.net
  773. noc.BelWue.DE    internet address = 129.143.2.1
  774. deins.Informatik.Uni-Dortmund.DE    internet address = 192.35.64.34
  775. rusmv5.RUS.Uni-Stuttgart.DE    internet address = 129.69.1.8
  776. rusmv8.RUS.Uni-Stuttgart.DE    internet address = 129.69.1.9
  777. ns.Germany.EU.net    internet address = 192.76.144.66
  778. > server noc.belwue.de
  779. Default Server:  noc.belwue.de
  780. Address:  129.143.2.1
  781.  
  782. > ls belwue.de > temp.txt
  783. [noc.belwue.de]
  784. #########
  785. Received 465 records.
  786.  
  787.  
  788. > view temp.txt
  789.  AWI-Bremerhaven                129.143.249.2
  790.  AWI-Bremerhaven                134.1.1.254
  791.  BA-Mosbach                     188.1.132.131
  792.  BA-Mosbach                     192.124.236.254
  793.  BA-Stuttgart                   129.143.227.2
  794.  BA-Stuttgart                   141.108.1.254
  795.  BelWue.DE.                     server = deins.Informatik.Uni-Dortmund.DE
  796.  BelWue.DE.                     server = noc.BelWue.DE                 
  797.  BelWue.DE.                     server = ns.Germany.EU.net             
  798.  BelWue.DE.                     server = rusmv5.RUS.Uni-Stuttgart.DE   
  799.  BelWue.DE.                     server = rusmv8.RUS.Uni-Stuttgart.DE   
  800.  DKFZ-Heidelberg                129.143.229.2
  801.  DKFZ-Heidelberg                188.1.132.34
  802.  DKFZ-Heidelberg                192.55.188.24
  803.  FH-Aalen                       141.18.1.254
  804.  FH-Aalen                       188.1.132.51
  805.  
  806.     .... (printout goes on, and on...)
  807.  
  808. > exit
  809. $ search temp.txt bast
  810.  bastm-rz-gw                     141.108.1.254
  811.  bast-st2-gw                    129.143.227.2
  812.  st2-bast-gw                    129.143.227.1
  813.  
  814.  
  815.    BUT WHAT IF THE DOMAIN IS TOO NEW A NAME TO LISTED IN DOMAIN-INFO.TXT?
  816.  
  817.              Use /Type=SOA (Start of Authority)
  818.  
  819. $ MU NSLOOKUP/TYPE=SOA WISC.EDU
  820.  
  821. Defaukt Server: dftsrv.gsfc.nasa.gov
  822. Address:  128.183.10.134
  823.  
  824. WISC.EDU
  825.        origin = cs.wisc.edu
  826.        mail addr = hostmaster.cs.wisc.edu
  827.        serial = 920304
  828.        refresh = 28800
  829.        retry = 14400 (4 hours)
  830.        expire = 3600000 (41 days 16 hours)
  831.        minimum ttl = 86400 (1 day)
  832.  
  833.  
  834.   So for further information on a machine in the above domain, one could
  835.   connect to the above machine (cs.wisc.edu) and query it
  836.  
  837.  
  838.  
  839.  
  840. Likewise, if you can't translate a hostname, you could always try querying
  841. one of the severn Internet ROOT SERVERS. They include:
  842.  
  843. NS.NIC.DDN.MIL
  844.  
  845. KAVA.NISC.SRI.COM
  846.  
  847. AOS.BRL.MIL
  848.  
  849. C.NYSER.NET
  850.  
  851. TERP.UMD.EDU
  852.  
  853. NS.NASA.GOV
  854.  
  855. NIC.NORDU.NET
  856.  
  857.  
  858.  
  859.                      EXAMPLE:
  860.  
  861. $mu nslookup 
  862. Default Server: dftsrv.gsfc.nasa.gov
  863. Address:  128.183.10.134
  864.  
  865. >server ns.nasa.gov
  866. Deafult Server: ns.nasa.gov
  867. Address:  128.102.16.10,  192.52.195.10
  868.  
  869. $ mu nslookup
  870. Default Server:  dftsrv.gsfc.nasa.gov
  871. Address:  128.183.10.134
  872.  
  873. >server kava.nisc.sri.com
  874. Default Server:  kava.nisc.sri.com
  875. Address:  192.33.33.24
  876.  
  877. >ca.
  878. Server:  kava.nisc.sri.com
  879. Address:   192.33.33.24
  880.  
  881. Name:    ca
  882. Served by:
  883. - RELAY.CDNNET.CA
  884.   192.73.5.1
  885.     CA
  886. - NNSC.NSF.NET
  887.   128.89.1.178
  888.     CA
  889. - CLOUSO.CRIM.CA
  890.   192.26.210.1
  891.     CA
  892. - UGW.UTCS.UTORONTO.CA
  893.   128.100.102.3, 128.100.100.3
  894.     CA
  895.  
  896.  
  897.     From here I could coonect to any of the above for further information
  898.  
  899.  
  900.  
  901. But sometimes the address you're given doesn't seem like a legitimate host.
  902. Perhaps it's an MX record. That is, mail destined for that host is sent
  903. thru a "Mail exchanger" (gateway) that forwards it appropriately
  904.  
  905.                       EXAMPLE:
  906.  
  907. ¢ mu trace bypass.dnet.nasa.gov
  908. r2vuva$dia2:[sys0.syscommon.][multinet]multinet_traceroute.exe;2: 
  909. unknown host BYPASS.DNET.NASA.GOV
  910.  
  911. $ mu nslookup/ty=mx bypass.dnet.nasa.gov
  912. Server:  dftsrv.gsfc.nasa.gov
  913. Address:  128.183.10.134
  914.  
  915. Non-authoritative answer:
  916. BYPASS.DNET.NASA.GOV    preference = 0, mail exchanger = east.gsfc.nasa.gov
  917. east.gsfc.nasa.gov    internet address = 128.183.104.4
  918.  
  919.                           EXAMPLE:
  920.  
  921. $ mu nslookup/ty=mx nasamail.nasa.gov
  922. Server:  dftsrv.gsfc.nasa.gov
  923. Address:  128.183.10.134
  924.  
  925. NASAMAIL.NASA.GOV    preference = 5, mail exchanger = gemini.arc.nasa.gov
  926. NASAMAIL.NASA.GOV    preference = 10, mail exchanger = homer.arc.nasa.gov
  927. gemini.arc.nasa.gov    internet address = 128.102.18.6
  928.  
  929.  
  930. The safest way to use NSLOOKUP is probably with the /type=any qualifier
  931.  
  932.                           EXAMPLE:
  933.  
  934. $ mu nslookup/ty=any nasamail.nasa.gov
  935. Server:  dftsrv.gsfc.nasa.gov
  936. Address:  128.183.10.134
  937.  
  938. Non-authoritative answer:
  939. NASAMAIL.NASA.GOV    preference = 5, mail exchanger = gemini.arc.nasa.gov
  940. NASAMAIL.NASA.GOV    preference = 10, mail exchanger = homer.arc.nasa.gov
  941.  
  942. Authoritative answers can be found from:
  943. nasa.gov    nameserver = NS.NASA.GOV
  944. nasa.gov    nameserver = CRAYON.NAS.NASA.GOV
  945. nasa.gov    nameserver = ORION.ARC.NASA.GOV
  946. nasa.gov    nameserver = JPL-MIL.JPL.NASA.GOV
  947. gemini.arc.nasa.gov    internet address = 128.102.18.6
  948. homer.arc.nasa.gov    internet address = 128.102.18.66
  949. NS.NASA.GOV    internet address = 128.102.16.10
  950. NS.NASA.GOV    internet address = 192.52.195.10
  951. CRAYON.NAS.NASA.GOV    internet address = 129.99.23.6
  952. ORION.ARC.NASA.GOV    internet address = 128.102.18.10
  953. ORION.ARC.NASA.GOV    internet address = 128.102.128.2
  954. JPL-MIL.JPL.NASA.GOV    internet address = 128.149.1.101
  955. JPL-MIL.JPL.NASA.GOV    internet address = 128.149.4.1
  956. JPL-MIL.JPL.NASA.GOV    internet address = 128.149.28.2
  957.  
  958.  
  959. But unless you know how to read this, you may come down with a bad case
  960. of information overload.  Additionally, type=mx only interprets the
  961. address STYLE, not the hostname itself.
  962.  
  963.                          EXAMPLE:
  964.  
  965. $ mu nslookup/ty=mx mumble.dnet.nasa.gov
  966. Server:  dftsrv.gsfc.nasa.gov
  967. Address:  128.183.10.134
  968.  
  969. Non-authoritative answer:
  970. MUMBLE.DNET.NASA.GOV    preference = 0, mail exchanger = east.gsfc.nasa.gov
  971. east.gsfc.nasa.gov    internet address = 128.183.104.4
  972.  
  973. Note that nowhere in the above example does it mention that this is not
  974. a valid address.  So type=mx needs to be used in conjunction with a 
  975. straight nslookup or SMTP to determine the address. 
  976.  
  977.  
  978.  NSLOOKUP can also be used to back-translate a number to a node
  979.  
  980.                       EXAMPLE:
  981. $ MU NSLOOKUP/TYPE=PTR 128.102.18.10  
  982. Server:  dftsrv.gsfc.nasa.gov
  983. Address:  128.183.10.134
  984.  
  985. 10.18.102.128.in-addr.arpa    name = orion.arc.nasa.gov
  986.  
  987.  
  988.  
  989.  
  990. SMTP
  991. ----
  992. We all take mail for granted. The front ends (mailers) we use often hide
  993. what happens on the lower levels.  Using the lower levels of Simple Mail
  994. Transfer Protocol (SMTP), one can verify an address, expand a mail 
  995. distribution list and more.
  996.  
  997. In the following example, the syntax used is for VMS machine running
  998. multinet.  Other variations of TCP/IP require the syntax "TELNET host 25"
  999.  
  1000.                              EXAMPLE:
  1001.  
  1002. $telnet/port=25 nsisrv
  1003. Trying... Connected to NSISRV.GSFC.NASA.GOV
  1004. EXPN ADFTO
  1005. 220 nsisrv.gsfc.nasa.gov Sendmail 5.57/Ultrix3.0-C ready at Tue, 
  1006. 25 Feb 92 13:45:30 -0500
  1007. 250-Javad Boroumand <javad>
  1008. 250-Yonsook Enloe <yonsook>
  1009. 250-<yurcik@dftnic.gsfc.nasa.gov>
  1010. 250-<tencati@dftnic.gsfc.nasa.gov>
  1011. 250-<stern@dftnic.gsfc.nasa.gov>
  1012. 250-<sellers@amarna.gsfc.nasa.gov>
  1013. 250-Scott W. Rogers <rogers>
  1014. 250-<lev@dftnic.gsfc.nasa.gov>
  1015. 250-<lang@dftnic.gsfc.nasa.gov>
  1016. 250-<jamil@lego.gsfc.nasa.gov>
  1017. 250-<jackson@dftnic.gsfc.nasa.gov>
  1018. 250-<pgary@dftnic.gsfc.nasa.gov>
  1019. 250-<rdunbar@lego.gsfc.nasa.gov>
  1020. 250-Bill Fink <bill@wizard.gsfc.nasa.gov>
  1021. 250 <bennett@dftnic.gsfc.nasa.gov>
  1022. 250 <rdunbar@lego.gsfc.nasa.gov>
  1023. VRFY RICK
  1024. 550 rick... User unknown: No such file or directory
  1025. VFRY RDUNBAR
  1026. 250 Rick Dunbar <rdunbar@lego.gsfc.nasa.gov>
  1027. QUIT
  1028. 221 nsisrv.gsfc.nasa.gov closing connection
  1029.  
  1030.  
  1031.  
  1032. Now let's put it all together.  The following example verifies the address
  1033. molner@telly.on.ca
  1034.  
  1035.                              EXAMPLE:
  1036.  
  1037. ¢ mu ping telly.on.ca
  1038. r2vuva$dia2:[sys0.syscommon.][multinet]multinet_ping.exe: 
  1039. unknown host TELLY.ON.CA
  1040.  
  1041. ¢ mu nslookup/ty=mx telly.on.ca
  1042.  
  1043. Server:  dftsrv.gsfc.nasa.gov
  1044. Address:  128.183.10.134
  1045.  
  1046. TELLY.ON.CA     preference = 10, mail exchanger = gpu.utcs.utoronto.ca
  1047. gpu.utcs.utoronto.ca    internet address = 128.100.100.1
  1048. gpu.utcs.utoronto.ca    internet address = 128.100.102.1
  1049. NSINIC ¢ telnet/port=25 gpu.utcs.utoronto.ca
  1050. Trying... Connected to GPU.UTCS.UTORONTO.CA, a SUN4/490 running SUNOS4.1.1.
  1051.  
  1052. 220 gpu.utcs.utoronto.ca Server SMTP ready at Wed, 26 Feb 1992 09:36:34 -0500
  1053. expn molnar
  1054. 250-local delivery for Tom Molnar <molnar>
  1055. quit
  1056.